//
//  BKMyOrderGetDataFromNetWork.h
//  bestkeep
//
//  Created by Mr. Wu on 16/12/6.
//  Copyright © 2016年 utouu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BKMyOrderStatusCount.h"
@interface BKMyOrderGetDataFromNetWork : NSObject

/**
 数据请求
 
   @brief 获取订单列表

 @param status 订单状态;
 @param pagesize 一页多少条数据
 @param pageno 当前第几页
 */
+(void)GetOrderData:(NSString*)status pagesize:(NSString*)pagesize pageno:(NSString*)pageno Success:(void (^)(NSArray *OrderArray))sucess failure:(void(^)(NSError *error))failure currentPage:(void(^)(NSDictionary *Page))Page;
/*
 获取推荐模型数组
 */

+(void)GetRecommendGoodsDataFromJsonSucessWithParamer:(NSString*)currentPage Success:(void (^)(NSArray *RecommendModel))sucess failure:(void (^)(NSError *error))failure currentPage:(void(^)(NSDictionary *Page))Page;
/*!
 @brief 确认收货;
 
 */
+(void)ConfrimReceiveGoodsWithOrderID:(NSString*)OrderID Status:(void(^)(NSString *str))Status;
/*!
 @brief 删除订单

 */
+(void)DeleteOrderdataWithOrderID:(NSString*)OrderId Status:(void(^)(NSString *str))Status;

/*!
 @brief 订单详情;
 
 */
+(void)GetOrderDetail:(NSString*)OrderID Success:(void(^)(NSArray *sectionModel))sucess failure:(void(^)(NSError *error))failure;

/*!
 @brief 取消订单;
 
 */
+(void)CancelOrder:(NSString*)Order_id reason:(NSString*)reason Status:(void(^)(NSString *str))Status;
/*!
 @brief 获取各个订单状态的数量;
 
 */
+(void)GetOrderStausSuccess:(void (^)(id obj))sucess failure:(void(^)(NSError *error))failure;
    
/*!
 @brief 获取物流信息;
 
 */

+(void)GetOrderLogisticsWithOrderno:(NSString*)order_no Success:(void (^)(id obj))sucess failure:(void(^)(NSError *error))failure;
/*!
 @brief 获取所有待评价商品;
 
 */
+(void)GetOrderEvalutingCount:(NSString*)evaluationFlag
                      OrderId:(NSString*)OrderId pagesize:(NSString*)pagesize pageno:(NSString*)pageno Success:(void (^)(NSArray *OrderArray))sucess failure:(void(^)(NSError *error))failure currentPage:(void(^)(NSDictionary *Page))Page;

/*!
 @brief 获取退换货所有订单;
 
 */
+(void)GetOrderReturnGoodsPagesize:(NSString *)pagesize pageno:(NSString *)page_no Success:(void (^)(NSArray *Model))sucess failure:(void(^)(NSError *error))failure currentPage:(void(^)(NSDictionary *Page))Page;
/*!
 @brief 获取退换货进度;
 
 */
+(void)GetOrderReturnGoodsProgress:(NSString *)pagesize pageno:(NSString *)page_no Success:(void (^)(NSArray *Model))sucess failure:(void(^)(NSError *error))failure currentPage:(void(^)(NSDictionary *Page))Page;
/*!
 @brief 退换货上传图片;
 
 */
+(void)uploadImage:(NSData *)imageData imageName:(NSString *)imageName Success:(void (^)(id  Response))sucess failure:(void(^)(NSError *error))failure;


/*!
 @brief 退换货确认;
 
 */
+(void)OrderReturnGoodsDic:(NSDictionary *)dic Status:(void(^)(NSString *str))Status;


/*!
 @brief 拆单邮费请求;
 
 */
+(void)splitOrderGetPostageWithDic:(NSDictionary*)dic  Success:(void(^)(NSString *str))sucess failure:(void(^)(NSError *error))failure;

/*!
 @brief 拆单;
 
 */
+(void)splitOrderWithDic:(NSDictionary*)dic  Status:(void(^)(NSString *str))Status;
/*!
 @brief 查询账户;
 
 */
+(void)accountMoneyInfoSuccess:(void(^)(id object))sucess failure:(void(^)(NSError *error))failure;
/*!
 @brief 支付邮费;
 
 */
+(void)splitToPayPostageWithDic:(NSDictionary*)dic  Success:(void(^)(NSString *str))sucess failure:(void(^)(NSError *error))failure;
@end
